<div class="layui-fluid">
    <div class="layui-col-md12">
     <div class="layui-card">
       <div class="layui-card-header">积分系统</div>
         <div class="layui-card-body">  
           <blockquote class="layui-elem-quote">1.成长和财富值都可以设置为负数，0，或者正数，负数表示扣分。<br>2.点击可编辑修改成长和财富值</blockquote>        
           <table id="J_table_list" lay-filter="J_table_list" url="{:url('wendasns/integral/edit')}"></table>
         </div>        
     </div>
    </div>
   </div>
   
   <script>
     ;!function(){
       var $ = layui.$
       ,form = layui.form
       ,table = layui.table;
       
       //执行渲染
       table.render({
         elem: '#J_table_list'
         ,url: '{:url('wendasns/integral/list')}'
         ,cols: [[
             {field: 'name', title: '行为', Width:200,align:'center'}
             ,{field: 'empiric', title: '成长值', Width:150,align:'center', edit: 'text'}
             ,{field: 'wealth', title: '财富值', nimWidth: 150,align:'center', edit: 'text'}
         ]]
         ,height: 'auto'
         ,text: {
           none: '暂无数据'
         }
       });
     
     }(); 
     </script>